﻿namespace PoliticalClassifier.Support
{
    /// <summary>
    /// ICandidateResults contains the simulation results for a candidate.
    /// </summary>
    public interface ICandidateResults
    {
        /// <summary>
        /// Gets the candidate whom these results apply to.
        /// </summary>
        ICandidate Candidate { get; }

        /// <summary>
        /// Gets the number of votes that went for the candidate.
        /// </summary>
        int NumberOfVotes { get; }

        /// <summary>
        /// Gets the distance from the overall voter median value.
        /// </summary>
        double DistanceFromMedian { get; }
    }
}
